<?php
class ModuleProfileModel extends SzMySqlModel
{

    /**
     * @see SzAbstractModel::$ORM_NAME
     * @var string
     */
    public static $ORM_NAME = 'ModuleProfile';

    /**
     * Initialize the ModuleProfileModel.
     *
     * @return ModuleProfileModel
     */
    public function __construct()
    {
        $moduleAppConfig = SzConfig::get()->loadAppConfig("module_profile/app", null, false, false);

        $this->table = 'module_profile';
        $this->columns = array('userId', 'level', 'exp', 'freeToken', 'purchasedToken', 'commodityValue', 'energy', 'energyLimit', 'lastEnergyChargedTime', 'registerTime', 'lastLoginTime', 'targetId', 'coolingTime', );
        $this->autoIncrColumn = null;
        $this->diffUpColumns = array(1, 2, 3, 4, 5, 6, );
        $this->updateFilter = array(0, );
        $this->toArrayFilter = array();
        $this->searchColumns = array(0, );
        $this->updateColumns = array(0, );
        $this->jsonColumns = array();
        $this->cacheColumn = 0;
        $this->shardColumn = 0;
        $this->pkColumn = 0;
        $this->deleteColumns = array(0, );
        $this->tableShardCount = defined("MODULE_PROFILE_TABLE_SHARD_COLUMN") ? MODULE_PROFILE_TABLE_SHARD_COLUMN : null;
        $this->cacheTime = 259200;

        $this->ormName = 'ModuleProfile';
        $this->columnCount = 13;
        $this->isList = false;
        $this->dbType = 'MySql';
        $this->voClassName = 'ModuleProfileVo';
        $this->voListClassName = 'ModuleProfileVoList';

        parent::__construct();
    }

}